/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pkg4funparse;

/**
 *
 * @author l
 */
public class Symbol {
    public enum Types {TERMINAL, N_TERMINAL}
    public final Types type;
    public final String value;
    public Symbol(Types type, String value) {
        this.type = type;
        this.value = value;
    }
    @Override
    public String toString() {
        String t = "";//(this.type==Types.TERMINAL)?"T":"NT";
        return value+" "+t;
    }
}
